package com.hna.face.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class JsonDateUtils {
	private static String pattern = "yyyy-MM-dd";

	public static Date process(String value) throws ParseException {
		SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.UK);
		return sdf.parse(value);
	}

}
